package com.msh.automatic.android.control.ui.home

import android.graphics.Color
import android.view.View
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class HomeViewModel : ViewModel() {

    val activationCode = MutableLiveData<String>().apply {
        value = "0197482c-6b17-7c49-a17f-103f1fcbad36"
    }

    val expirationDate = MutableLiveData<String>().apply {
        value = ""
    }

    val inputVisibility = MutableLiveData<Int>().apply {
        value = View.VISIBLE
    }
    val showVisibility = MutableLiveData<Int>().apply {
        value = View.VISIBLE
    }

    var accessibilityColor = MutableLiveData<Int>().apply {
        value = Color.RED
    }
    var accessibility = MutableLiveData<String>().apply {
        value = "未启动.(点击启动)"
    }
    var powerColor = MutableLiveData<Int>().apply {
        value = Color.RED
    }
    var power = MutableLiveData<String>().apply {
        value = "未加入.(点击加入)"
    }
    var fileManagerColor = MutableLiveData<Int>().apply {
        value = Color.RED
    }
    var fileManager = MutableLiveData<String>().apply {
        value = "未授权.(点击授权)"
    }
    var installApkColor = MutableLiveData<Int>().apply {
        value = Color.RED
    }
    var installApk = MutableLiveData<String>().apply {
        value = "未授权.(点击授权)"
    }
}